/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package mx.edu.itschapala.ssrp.ln;

import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.ejb.LocalBean;
import mx.edu.itschapala.ssrp.dao.UsuarioDAO;
import mx.edu.itschapala.ssrp.modelo.Usuario;

/**
 *
 * @author pocholomacbook
 */
@Stateless
@LocalBean
public class SesionLN {
    @EJB
    private UsuarioDAO usuarioDAO;

    public Usuario getUsuarioPorNcontrol(String ncontrol){
        return usuarioDAO.getPorNcontrol(ncontrol);
    }
}
